package com.zhongan.doc.swagger.action.user;

import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zhongan.doc.swagger.model.ResultInfo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

/**
 * 类AddressAction.java的实现描述：用户地址管理
 * 
 * @author: tongyufu 2017-12-05 11:09:49
 */
@Api(tags = "用户地址", description = "用户地址管理")
@RequestMapping("/user/address")
@RestController
public class AddressAction {

	@DeleteMapping("{id}")
	@ApiOperation("删除指定ID地址")
	public ResultInfo<String> delete(@ApiParam("地址ID") @PathVariable("id") Integer id) {
		return new ResultInfo<String>("删除用户地址成功");
	}

}
